package xmltree
Import Path
github.com/ChrisTrenkamp/goxpath/tree/xmltree (on go.dev)
Dependency Relation
imports 6 packages, and imported by one package
Involved Source Files
xmltree.go
Package-Level Type Names (total 3)
DirectiveParser is an optional interface extended from XMLBuilder that handles
XML directives.
( DirectiveParser) CreateNode(*xmlbuilder.BuilderOpts) xmlbuilder.XMLBuilder
( DirectiveParser) Directive(xml.Directive, *xml.Decoder)
( DirectiveParser) EndElem() xmlbuilder.XMLBuilder
GetNodeType returns the node's type
GetParent returns the parent node, which will always be an XML element
GetToken returns the xml.Token representation of the node
Pos returns the node's position in the document order
ResValue prints the node's string value
DirectiveParser : github.com/ChrisTrenkamp/goxpath/tree/xmltree/xmlbuilder.XMLBuilder
DirectiveParser : github.com/ChrisTrenkamp/goxpath/tree.Node
ParseOptions is a set of methods and function pointers that alter
the way the XML decoder works and the Node types that are created.
Options that are not set will default to what is set in internal/defoverride.go
Strict bool
XMLRoot func() xmlbuilder.XMLBuilder
Package-Level Functions (total 2)
MustParseXML is like ParseXML, but panics instead of returning an error.
ParseXML creates an XMLTree structure from an io.Reader.
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |